wordpress physical installation path

Simply you can get wordpress physical installation path using ABSPATH

Constant.


require_once('wp-config.php');
echo  ABSPATH;